package com.longxi.tianjintianbao.greedao.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class Work {
    @Id(autoincrement = false)
    private Long id;
    private int type;
    private int message;
    private String activity;
    private int isVisible;// 1 可见 0 不可见
    private int sort;// 排序
    private int category;// 分类1 头部 2工作 3@我
    @Generated(hash = 1803075945)
    public Work(Long id, int type, int message, String activity, int isVisible,
            int sort, int category) {
        this.id = id;
        this.type = type;
        this.message = message;
        this.activity = activity;
        this.isVisible = isVisible;
        this.sort = sort;
        this.category = category;
    }
    @Generated(hash = 572069219)
    public Work() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public int getType() {
        return this.type;
    }
    public void setType(int type) {
        this.type = type;
    }
    public int getMessage() {
        return this.message;
    }
    public void setMessage(int message) {
        this.message = message;
    }
    public String getActivity() {
        return this.activity;
    }
    public void setActivity(String activity) {
        this.activity = activity;
    }
    public int getIsVisible() {
        return this.isVisible;
    }
    public void setIsVisible(int isVisible) {
        this.isVisible = isVisible;
    }
    public int getSort() {
        return this.sort;
    }
    public void setSort(int sort) {
        this.sort = sort;
    }
    public int getCategory() {
        return this.category;
    }
    public void setCategory(int category) {
        this.category = category;
    }

}
